package com.ls.uav_backend.service;

import com.ls.uav_backend.model.entity.EnvironmentalData;
import com.ls.uav_backend.model.vo.environmental.*;
import com.mybatisflex.core.service.IService;

/**
 *  服务层。
 *
 * @author <a href="https://gitee.com/Linkating">LinSkating</a>
 */
public interface EnvironmentalDataService extends IService<EnvironmentalData> {

    InAndOutTemperatureVO getInAndOutTemperatureData();

    IlluminationVO getIlluminationData();

    WaterContentVO getWaterContentData();

    SoilVO getSoilData();

    SensorDataVO getSensorData();

    void get24HEnvironmentalData();

    // 更新当前大棚总信息
    void updateCurrentEnvironmentalData();
}
